<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>随机点名</title>
	</head>
	<h2>~点名系统~</h2>
	<input type="button" value="开始" onclick="suiji()" />
	<p id="number"></p>
	<body>
		<script>
			function suiji(){
				var arr=["1柯旭海","2宋自江","3相淑雅","4宋唐炜","5任晓萱","6夏启田","7王俊杰","8徐翰毅","10李余良","11袁斌斌",
				"12周瑞俊","13王佐耀","14梁杰","15丁振铮","16何升强","17陈用群","18李悌章","19郑锦","20王珊珊","21郑良靖",
				"22陶伟","23黄师师","24汤千晗","26夏鑫宇","27薛鹏超","28宋琦豪","29余兆俊","30杨翌","31舒柯竣","33李家辉",
				"34陈一颖","35夏阳","36尹钦琪","37朱俊宇","38姜勋奇","39杨东平","40王洪峰"];
		var n=Math.random()*40+1;
		var num=parseInt(n);
		number.innerHTML=arr[num];
			}
			
		</script>
	</body>
</html>